// 网易云音乐相关的 API 接口
import NeteaseCloudMusicApi from '@/utils/NeteaseCloudMusicApi'

// 按需导出独家放送入口的列表数据
export const getExclusiveStartListAPI = function () {
  return NeteaseCloudMusicApi.get('/personalized/privatecontent')
}

// 按需导出独家放送的列表数据
export const getExclusiveListAPI = function (limit, offset) {
  if (offset) {
    return NeteaseCloudMusicApi.get(`/personalized/privatecontent/list?limit=${limit}&offset=${offset}`)
  } else {
    return NeteaseCloudMusicApi.get(`/personalized/privatecontent/list?limit=${limit}`)
  }
}
